<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php include $this->admin_tpl('header', 'admin');?>
<script type="text/javascript">
	window.top.$('#display_center_id').css('display','none');
</script>
<div class="pad-lr-10">
<div id="searchid" style="">
</div>
<div class="table-list">
<table width="100%" cellspacing="0">
	<thead>
		<tr>
			<th align='center' width="40">ID</th>
			<th align="left"><?php echo L('cn_name')?></th>
			<th align='center'><?php echo L('en_name')?></th>
			<th align='center' width="90"><?php echo L('type_icon')?></th>
			<th align='center' width="65"><?php echo L('start_flag')?></th>
			<th align='center' width="65"><?php echo L('end_flag')?></th>
			<th align='center' width="90"><?php echo L('create_time')?></th>
			<th align='center' width="80"><?php echo L('updated_by')?></th>
			<th align='center' width="60"><?php echo L('status')?></th>
			<th align='left' width="180"><?php echo L('operations_manage')?></th>
		</tr>
	</thead>
<tbody>
<?php echo $categorys;?>
</tbody>
</table>

<div class="btn">
</div>
</div>
</div>
<script type="text/javascript">
	function edit(id, name) {
		window.top.art.dialog({id:'edit'}).close();
		window.top.art.dialog({title:'<?php echo L('edit')?> '+name+' ',id:'edit',iframe:'?m=vote&c=vote_type&a=edit&id='+id,width:'700',height:'200'}, function(){var d = window.top.art.dialog({id:'edit'}).data.iframe;var form = d.document.getElementById('dosubmit');form.click();return false;}, function(){window.top.art.dialog({id:'edit'}).close()});
	}
	function edit1(id, name) {
		window.top.art.dialog({id:'add'}).close();
		window.top.art.dialog({title:'<?php echo L('add_sub_category')?>',id:'add',iframe:'?m=vote&c=vote_type&a=add&parentid='+id,width:'700',height:'200'}, function(){var d = window.top.art.dialog({id:'add'}).data.iframe;var form = d.document.getElementById('dosubmit');form.click();return false;}, function(){window.top.art.dialog({id:'add'}).close()});
	}
</script>
</body>
</html>